import {fetchData,isEmpty} from './common';
import _globConfig from './config';

let uiServiceUrl = 'ui/getConfigData';

if(isEmpty(_globConfig.ui) == false){
    uiServiceUrl = _globConfig.ui + uiServiceUrl;
}

const uiConfig = fetchData(uiServiceUrl);

console.log(uiConfig);

export default uiConfig;